.PHONY:all
all:client sserver
client:cal_client.cc
	g++ -o $@ $^ -std=c++11 -ljsoncpp -DDEBUG_NOTSHOW
sserver:cal_server.cc
	g++ -o $@ $^ -std=c++11 -lpthread -ljsoncpp -DDEBUG_NOTSHOW
.PHONY:clean
clean:
	rm -f client sserver